#include "Animal.h"

Animal::Animal(std::string name, std::string color, int legNum) 
    : name(name), color(color), legNum(legNum) {}

void Animal::setName(std::string name) {
    this->name = name;
}